<b><?= $_REQUEST['action'] ?></b> <select id="zoneselect" onchange="
  document.location='<?= actionUrl($_REQUEST['action'], 'gm', 'z=') ?>'+document.getElementById('zoneselect').value;">

<?
  foreach(DB_GetList('SELECT '.$this->keyfield.', '.$this->namefield.' FROM '.getTableName($this->tablename).' 
    '.$this->join.'
    ORDER BY '.$this->namefield) as $zds)
  {
    ?><option <? if ($this->currentZone == $zds[$this->keyfield]) print('selected '); ?>
      value="<?= $zds[$this->keyfield] ?>"><?
      foreach(explode(',', $this->namefield) as $fn) print($zds[$fn].' : '); ?> (<?= $zds[$this->keyfield] ?>)</option><?
  }  
?>
</select> | <a href="<?= actionUrl($_REQUEST['action'], 'gm', 'z=new') ?>">new</a>
<?

  $this->form->display();

?>